
package com.v1.video.activity;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

import com.umeng.analytics.MobclickAgent;
import com.v1.video.R;

public class AboutDetailActivity extends BaseActivity {

    private final String TAG = "AboutDetailActivity";

    private AboutDetailActivity instance;
//    setText(Html.fromHtml("<u>"+"hahaha"+"</u>"));
       
    /**标题*/
    TextView text_title;
    /**返回按钮*/
    private ImageView view_btn_return;
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about_detail);
        instance = this;       
    }

    @Override
    protected void initView() {
        // TODO Auto-generated method stub       
        
        view_btn_return = (ImageView)findViewById(R.id.iv_result);
        text_title = (TextView)findViewById(R.id.tv_title);
    }

    @Override
    protected void initData() {
        // TODO Auto-generated method stub
        text_title.setText(R.string.about_title_aboutour);
    }

    @Override
    protected void setListener() {
        // TODO Auto-generated method stub
//        view_btn_return.setOnClickListener(new OnClickListener() {
//            
//            @Override
//            public void onClick(View v) {
//                // TODO Auto-generated method stub
//                finish();
//            }
//        });
        findViewById(R.id.lay_result).setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub
                finish();
            }
        });
    }
    
    @Override
	public void onResume() {
		super.onResume();
		MobclickAgent.onPageStart("关于第一视频");
	}

	@Override
	public void onPause() {
		super.onPause();
		MobclickAgent.onPageEnd("关于第一视频");
	}
    @Override
    public void onBackPressed() {
        // TODO Auto-generated method stub
        super.onBackPressed();
    }

}
